<?php

namespace App\Model;

use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

/**
 * 要使用auth验证，除了模型类要如下设置，还得在config/auth.php里面设置修改provider->users->model
 * Class BackendUser
 * @package App\Model
 */
class BackendUserModel extends Authenticatable
{
    use Notifiable;

    public $timestamps = false;
    protected $table = 'backend_user';
    /** @var string 修改用户表token */
    protected $rememberTokenName = 'token';
}
